﻿<?xml version="1.0" encoding="utf-8" ?>
<!-- 
   Configuration options for vdbtool, db first scenario, with VitaBooks MySql database. 
   Note: run extended unit tests before using this config file - this will create the database objects. 
-->
<Settings>
  <Provider>MySql</Provider>
  <ConnectionString>Server=localhost; Uid=root; Pwd=_pass; Old Guids=true</ConnectionString>
  <OutputPath>_bookEntities_MySql.cs</OutputPath><!-- Will go into bin folder. -->

  <Namespace>Vita.Samples.BooksGenerated</Namespace>
  <AppClassName>BooksEntityApp</AppClassName>
  <!-- List of schema names in database. If empty, all schemas are included. -->
  <Schemas>books</Schemas>
  <!--Comma-delimited list of DbFirstOptions enum values -->
  <Options>Binary16AsGuid, AutoOnGuidPrimaryKeys, AddOneToManyLists, GenerateConsoleAppCode </Options>
  <!-- AutoValues lists column/property names that are auto-values (automatically generated), so code generator will add 
     [Auto(AutoType.*)] attribute to these properties. 
     Comma-delited list of pairs <columnName>:<AutoType>  -->
  <AutoValues>CreatedOn:CreatedOn</AutoValues>
</Settings>